<?php

namespace App\Models\Base;

use Illuminate\Database\Eloquent\Model;

class LogServerEverydayData extends Model
{
    protected $fillable = [
        'server_id',
        'date_time',
        'new_player_num',
        'order_amount',
        'order_num',
        'pay_num',
        'online_num',
    ];

    public function serverName()
    {
        return $this->hasOne(ServerList::class, 'server_id', 'server_id');
    }
}
